package com.kasax.test.bc

import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide

object MyBindingAdapter {
    @JvmStatic
    @BindingAdapter("imgBinding")
    fun imgBinding(imageView: ImageView, url: String) {
//        Logger.log("MyBindingAdapter imgBinding url: $url")
        Glide.with(imageView.context).load(url).centerCrop().into(imageView)
    }
}